<?php defined('ByShopWWI') or exit('Access Invalid!');?>

<div class="block-style-one">
    <div class="title">
        <h3>
            <?php
                if ($output['news']){
                      echo $output['news'];
                }else{
                      echo '最新报道';
                }
            ?>

        </h3><!--精彩推荐 cms_article_commend-->
    </div>
    <div class="content">
        <ul class="article-recommand-list">
            <?php
            foreach ($output['bar_list'] as $value) {?>

                <li>

                    <?php if($output['news']) {   $article_url = getCMS_question_Url($value['article_id']); ?>
                        <a href="<?php echo $article_url;?>">

                        <?php  }else{  ?>
                    <a href="<?php echo CMS_SITE_URL.'/index.php?act=talk_show&op=talk_detail&article_id='
                        .$value['article_id'];  ?>">


                        <?php } echo $value['article_title']; ?>
                    </a>
                </li>
            <?php } ?>
        </ul>

        </ul>
    </div>
</div>
